home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
amiga
/
hermit.lha
/
HERMiT
/
HERMiT.doc
< prev
next >
Wrap
Text File
|
1994-02-28
|
14KB
|
264 lines
HERMES' HERMiT (Version 1.4)
Copyright (c) 1988-94 A. G. Kartsatos
**** Shareware ****
*** If you use this program by HERMES, please send US$15.00 to: ***
A. G. Kartsatos
8524 Caladesi Island Drive
Temple Terrace, FL 33637-7310
Compatible with ROMS 2.0, Amiga 3000)
((Saves/Cycles The Front Screen, Saves The Front Screen's Font,
Saves And Provides Code For The Front Window's
As Well As The Preferences' Pointer,
Opens A CLI On The Front Screen))
Here is a new version of HERMiT. This time HERMiT will also open a CLI
on top of your Front Screen and will save your Front Window's Pointer in a
system-configuration file. It will also provide C code for the Front
Window's as well as the Preferences' Pointer. The old features are of course
course still here: Saving of Front Screens, Cycling of Front Screens and
Saving of the Fonts of Front Screens.
The user should read this manual in its entirety in order to avoid
unnecessary complications and frustration. For example, you can read below
how you may save the front screen although the usual key combination does
not work because another running program is using it.
***It works from the Workbench or the CLI. To run it from the CLI, just
press RUN HERMiT. Just click into its icon when you you want it to run from
your Workbench.***
You may run HERMiT now either from your startup-sequence or from your
Workbench without having to enter anything in the HERMiT main panel. Here
is how you do it.
1) STARTUP-SEQUENCE: Just enter a line with "Run HERMiT -s <Drive/Dir>".
For example, the command "Run HERMiT -s RAM:Files" will save all
HERMiT fonts, pointers and screens in the directory RAM:Files.
2) WORKBENCH: Just enter in the HERMiT icon TOOLTYPES (get them with
the "Info" (or "Information") item of the WorkBench menu), the phrase:
HERMiT=RAM:Files. HERMit will read this when it gets activated (by
clicking into its icon) and will save everything again into the
directory RAM:Files. The icon is distributed with the TOOLTYPES
entry: HERMiT=VD0: If you want to check whether HERMiT is actually
running in the background, just press: CTRL-LALT-H, as usual.
If, in either case, HERMiT does not locate that drive/directory path, it
will prompt you for such a path with its main panel.
LALT denotes the Left ALT KEY on your keyboard.
To start HERMiT operating, you must enter a volume/directory where you
want your pictures and fonts saved. No actual filenames are needed and they
will not work. For example, assume that you want your pictures saved in
the directory DF0:Pictures. To guarantee this, just enter DF0:Pictures in
the gadget of the HERMiT screen and PRESS <RETURN>.
In what follows, "Flash" means "sun the screen."
COMMANDS:
(I) CTRL+LALT+S: Saves The Front Screen. (Flashes before and after)
This is a very useful feature when you need a copy of a screen of
a word processor, a game, a utility, etc. It saves OVERSCAN front screens
too. The files are saved sequentially like GRABBiT to a directory/volume path
that you specify when the HERMiT requester asks you for it. The saving
format: HR_3MED.000 = HERMiT, 3 Planes, Medium Resolution, File Number 0.
Another example: HR_6LACE.007 = HERMiT, 6 Planes, INTERLACE Mode, 8th File
Saved. Whenever HERMiT is run, the numbering of the pictures starts from
000. This means that the user should make sure that he/she does not
overwrite older pictures with the same number, resolution and planes as
the new ones.
(II) CTRL+LALT+1, CTRL+LALT+2, CTRL+LALT+3: Cycles Pictures At 3 Diffe-
Speeds.
TAB KEY: Stops The Cycling.
HERMiT will cycle IFF pictures which with 8 to 32 colors (2-5 planes).
It will cycle the colors of the front screen at three different speeds
corresponding to the above 3 key combinations. The only uncycled color is
the color in register 0. It is usually the color outside the picture frame
and it does not look good when you include it in the cycling.
Press the TAB KEY to stop the cycling.
(III) CTRL+LALT+F: Will Save The Front Screen's Font.
(Flashes Before And After)
Well, all these Front-Screen saving operations are of course possible
only when the running program allows you to do them. When the running prog-
ram uses the "Disable(), Forbid()" combinations (e.g., in the C Language),
you cannot save the FrontScreen.
To SAVE THE FONT, just PRESS: CTRL+LALT+F. The program will check first
to see if the font is just the TOPAZ one. If it is, the program will notify
you accordingly, and it will not save the font. Let us assume that the font
has the name HELLO and has size 11. The program will try to see if a
directory exists in the assigned HERMiT path (above) with the name fonts.
If it exists, HERMiT will try to save the font in there. It will put a file
called HELLO.font in that fonts directory, it will then open a directory
in there with the name HELLO, and, finally, it will place into the HELLO
directory a file with the name "11".
If the fonts directory cannot be found in the assigned HERMiT path,
HERMiT will create it and continue as above.
The program WILL NOT CREATE A FONT IF THE FONT NAME ALREADY EXISTS IN
THE HERMiT PATH/FONTS DIRECTORY. This means that if there is a HELLO font
already in that fonts directory, HERMiT will not create a font with the
name HELLO even if the new font has a different size.
If you do want to get that font anyway, just change the names of the
three files of the HELLO font that are already there (HELLO.font, HELLO
and 11), or delete them.
Now, I do not really want to play with your current "fonts" directory.
So, when you enter a path into the HERMiT gadget, please avoid entering
a volume/directory that contains your valuable "fonts" directory. This of
course applies only when you are planning to save the screen font.
(IV) CTRL+LALT+P: Saves The Front Window's Pointer.
(Flashes Before And After)
This of course means that THERE IS a pointer attached to your front
window. If there is no such pointer, HERMiT will notify you accordingly.
Also, HERMiT will not save your pointer if it is too large. This means
that if your pointer has width and/or height bigger than 16, HERMiT will tell
you that your pointer is too large and will refrain fromm trying to save it.
*However, HERMiT will give you the C code for such an oversized pointer
that you can use in your programs.*
HERMiT saves the pointer in a copy of your "system-configuration" file.
This file resides in your "devs" directory and contains the entire current
Preferences data of your machine. HERMiT's copy is in the directory/drive
thar has been initially specified by you and is named "HR_CONF". REMEMBER:
"HR_CONF" is a BINARY file. In order to see the pointer this way, you just
use the enclosed program "ShowPointer". Just press "ShowPointer HR_CONF" and
the program will set your pointer to the one in "HR_CONF". This "ShowPointer"
program will work with any system-configuration files that contain pointers
of legitimate dimensions as above. If you want the shown pointer to perma-
nently become your pointer, just run the Preferences file and then save it.
That's it!
Besides the image of the pointer, HERMiT will also save the colors of it.
These are in color registers 17,18, and 19.
(V) CTRL+LALT+D: Provides C Code For The Front Window's Pointer
As Well As The Preferences' Pointer.
(Flashes Before And After)
This feature allows you to obtain the C code for the pointer if you want
to use it in your own programs. If the front window has no pointer attached
to it, HERMiT will give you the C code for the pointer obtained from your
Preferences (and not from your "devs:system-configuration" file).
If the front window has a pointer attached to it, HERMiT will give you
the C code for that pointer. In either case, the file containing the C code
resides in your pre-specified directory/drive and has the name: "HR_PTRCODE".
*HERMiT will give you the C code also for oversized pointers that you
can use in your programs.*
(VI) CTRL+LALT+C: Opens A New CLI On Top Of The Front Screen.
HERMiT will open a new CLI on top of the front screen. Naturally, this
CLI will have the resolution of the top screen. Please DO NOT MOVE THE TOP
SCREEN OR THIS CLI TO THE BACKGROUND because you MIGHT LOSE THE CLI and the
ability to further use HERMiT. This can happen in resolutions other than
HIRES (640x200). So, use the CLI as you please (entering commands into it),
and PRESS: ENDCLI to get rid of it when you are done. Obviously, the file
EndCLI should be in your c directory. EndCLI is the only way to get rid
of this new CLI. HERMiT will not open a new CLI whenever your screen's
width is smaller than 250. If you do not get a new CLI this way, it means
that HERMiT cannot open the window in the present environment.
HERMiT checks to see if you have the NewCLI command in your c directory.
If you do, HERMiT runs that command and gives you a NewCLI with the reso-
lution of your front screen. If you do not, HERMiT will open its own CLI
on your front screen. Both types of CLI will be "smart" when HERMiT is run-
ning from the CLI. However, when HERMiT is running for the Workbench,
either type of CLI will not be as smart. They will recognize all the commands
in your assigned c directory, but not the commands from the path. Naturally,
in such a case you may still run a path command inside the CLI to establish
the path that you desire.
(VII) CTRL+LALT+H: Checks Whether HERMiT Has Been Activated. (Flash)
(VIII) CTRL+LALT+Q: Stops HERMiT From Running In The Background. (Flash)
Same effect by pressing: "HERMiT Q".
If, for some reason, HERMiT does not get off with this triplet of KEYS,
you might still be able to "KILL" it by just pressing: "HERMiT Q". In this
case HERMiT sends an input event message to the entire input device to make
sure that the keys are going to be "listened" to by the running copy of
itself.
Now, remember that it is still possible to have HERMiT blocked from
operation because another running program MAY BE USING SOME OF THE ABOVE KEY
COMBINATIONS. So, if you get stuck trying to save a picture with HERMiT,
have this fact in mind. You might be able to still save a picture though.
HERMiT WILL SAVE THE SCREEN AFTER 20 SECONDS WITHOUT PRESSING ANY KEYS!
If you want to save the screen of a program 20 seconds after you run
HERMiT, just run HERMiT as follows: HERMiT 20.
The program will notify you that it is waiting for about 20 seconds
before it saves the front screen. This will give you plenty of time to get to
the desired screen. After it saves the screen, HERMiT will be operating as
usual. If you specify any number of seconds other than 20, the program
will default to 20 seconds.
One of the main reasons for not being able to save certain screens, is
that the programs creating those screens block your keyboard and prohibit
you from interfering with their respective tasks. This can be done in
the C language by using instructions like "Disable(); Forbid();". HERMiT
will not be able to help in such cases. Actually, no known program will.
The HERMiT icon opens a small "CON:" window on your screen to accept the
output. If you really want to see that output, just extend that window as
much as you please. You can do that by changing the dimensions of that
window. Just "Info" the icon and make the change.
I have tried to cover a lot of cases of possible ... misuse of the
program. However, if you come across any situations at all where HERMiT
does not work properly, please let me know. I would appreciate it.
I would like to express my thanks to Robert Miles (Excalibur BBS,
Dallas) for sharing his knowledge with me on the hunks of executable files.
Have fun!!!
@@-->>> HERMES
This program has been released under the SHAREWARE concept. If you
find it useful, please send $15.00 to the following address. You can use
the same address for SUPPORT on other programs by hERMES.
A. G. Kartsatos (...Author Of IconLab 1.3 And LoGG 1.0)
8524 Caladesi Island Drive
Temple Terrace, FL 33637-7310, USA
DISTRIBUTION:
=============
Feel free to distribute this version of HERMiT, WITH THIS DOC INTACT,
to any bulletin boards and non-profit establishments in the US and
abroad.
You are also allowed to upload this version to major electronic boards
like BIX, Compuserve, Delphi, GEnie, PLink, etc.
The inclusion of HERMiT, or any part of it, in any form in a commercial
package, or its use for any commercial purposes, is illegal without the ex-
plicit permission of the author.
Most nationally and internationally sold disks with Amiga software are
considered commercial packages by this author. Only The Amiga User Group
"Disk Of The Month" disks are excluded.
DISCLAIMER:
===========
The usual disclaimers concerning computer software apply to this
product.
Although this program has been tested extensively for its accuracy and
reliability, the author will accept no liability whatsoever for damage
resulting from the use, misuse, or excessive use of it.